mirror of
https://github.com/valitydev/redash.git
synced 2024-11-09 02:06:49 +00:00
9 lines
289 B
JavaScript
9 lines
289 B
JavaScript
function AlertSubscription($resource) {
|
|
const resource = $resource('api/alerts/:alertId/subscriptions/:subscriberId', { alertId: '@alert_id', subscriberId: '@id' });
|
|
return resource;
|
|
}
|
|
|
|
export default function (ngModule) {
|
|
ngModule.factory('AlertSubscription', AlertSubscription);
|
|
}
|