chore: make lint happy

This commit is contained in:
源文雨 2023-09-24 13:14:16 +09:00
parent 209b2e8a1f
commit 1bb8e8b058
2 changed files with 3 additions and 4 deletions

View File

@ -13,9 +13,8 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@master
- name: golangci-lint
- name: Run Lint
uses: golangci/golangci-lint-action@master
continue-on-error: true
with:
version: latest

View File

@ -209,9 +209,9 @@ func init() {
})
}
func changeAtAll(groupId int64, b int) (err error) {
func changeAtAll(gid int64, b int) (err error) {
bpMap := map[string]any{
"group_id": groupId,
"group_id": gid,
"at_all": b,
}
return bdb.updateAtAll(bpMap)