github auth added

This commit is contained in:
0xdcarns
2021-10-22 13:12:03 -04:00
parent 9c5703e28c
commit 36d60eba64
4 changed files with 156 additions and 12 deletions

View File

@@ -233,6 +233,8 @@ func FetchAuthSecret(key string, secret string) (string, error) {
if err != nil {
if err = database.Insert(key, secret, database.GENERATED_TABLE_NAME); err != nil {
return "", err
} else {
return secret, nil
}
}
return record, nil