mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
services/NotificationSettings: fix #219
This commit is contained in:
parent
c56e0525aa
commit
bfcfad819b
@ -39,7 +39,7 @@ class NotificationSettings extends BaseService {
|
||||
}
|
||||
|
||||
all({ projectId, groupId }: NotificationSettingsOptions = {}) {
|
||||
let url;
|
||||
let url = '';
|
||||
|
||||
if (projectId) {
|
||||
url += `projects/${encodeURIComponent(projectId)}/`;
|
||||
@ -51,7 +51,7 @@ class NotificationSettings extends BaseService {
|
||||
}
|
||||
|
||||
edit(options, { projectId, groupId }: NotificationSettingsOptions = {}) {
|
||||
let url;
|
||||
let url = '';
|
||||
|
||||
if (projectId) {
|
||||
url += `projects/${encodeURIComponent(projectId)}/`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user