mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 08:25:09 +01:00
correct syntax
This commit is contained in:
@@ -416,7 +416,7 @@ func CreateGuild(s *Session, guildName string) (int32, error) {
|
|||||||
|
|
||||||
guildResult, err := transaction.Query(
|
guildResult, err := transaction.Query(
|
||||||
"INSERT INTO guilds (name, leader_id, rp, guild_hall) VALUES ($1, $2, $3, $4) RETURNING id",
|
"INSERT INTO guilds (name, leader_id, rp, guild_hall) VALUES ($1, $2, $3, $4) RETURNING id",
|
||||||
guildName, s.charID, 48, 17
|
guildName, s.charID, 48, 17,
|
||||||
)
|
)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user