Skip to content

Commit 2ea950c

Browse files
inlinedlaurenzlong
authored andcommitted
fix bug where http function urls weren't appearing after deploys (#148)
1 parent 2b7fc0c commit 2ea950c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/deploy/functions/release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = function(context, options, payload) {
2323

2424
function _fetchTriggerUrls(ops) {
2525
return gcp.cloudfunctions.list(projectId, GCP_REGION).then(function(functions) {
26-
var httpFunctions = _.chain(functions).filter({ gcsUrl: sourceUrl}).filter('httpsTrigger').value();
26+
var httpFunctions = _.chain(functions).filter({ sourceArchiveUrl: sourceUrl}).filter('httpsTrigger').value();
2727
_.forEach(httpFunctions, function(httpFunc) {
2828
_.chain(ops).find({ func: httpFunc.name }).assign({ triggerUrl: httpFunc.httpsTrigger.url}).value();
2929
});

0 commit comments

Comments
 (0)