diff options
Diffstat (limited to 'extensions/BMO/bin/migrate-github-pull-requests.pl')
-rwxr-xr-x | extensions/BMO/bin/migrate-github-pull-requests.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BMO/bin/migrate-github-pull-requests.pl b/extensions/BMO/bin/migrate-github-pull-requests.pl index de71a7856..1d84352a2 100755 --- a/extensions/BMO/bin/migrate-github-pull-requests.pl +++ b/extensions/BMO/bin/migrate-github-pull-requests.pl @@ -65,7 +65,7 @@ foreach my $attachment (@$attachments) { $dbh->do( "UPDATE attachments SET mimetype = ? WHERE attach_id = ?", undef, - GITHUB_PR_CONTENT_TYPE, $attachment->{attach_id} + 'text/x-github-pull-request', $attachment->{attach_id} ); # insert into bugs_activity @@ -75,7 +75,7 @@ foreach my $attachment (@$attachments) { VALUES (?, ?, ?, ?, ?, ?)", undef, $attachment->{bug_id}, $nobody->id, $timestamp, $field->id, - $attachment->{mimetype}, GITHUB_PR_CONTENT_TYPE + $attachment->{mimetype}, 'text/x-github-pull-request' ); $dbh->do( "UPDATE bugs SET delta_ts = ?, lastdiffed = ? WHERE bug_id = ?", |