نظر / پیشنهادات / سوال در مورد پروژه
@itsjoniur is already working on this.
Since Aug 25, 2022.
Assessment
This issue has not been assessed yet.
Description
به نام خدا
سلام
جاهایی که از تابع GetUserByApiKey استفاده می شود احتمالا باید بررسی بشود که آیا کاربری یافت شده است یا خیر. مثل:
user := GetUserByApiKey(apiKey)
if user == nil {}
در چند جا این مورد کامل بررسی نشده است. مثل:
user := GetUserByApiKey(apiKey)
_, err = db.Exec(context.Background(), `insert into links(owner_id, name, link) values($1, $2, $3)`, user.Id, link.Name, link.Url)
- Dominant language
- Go
- Stars
- 11
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BaseMax/BitlyGo
Similar issues
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
🤔 refinement needed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
equinor/radix-operator#1979 ·